package top.longmarch.flow.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class LiteFlowDTO {

    private Long id;

    @NotNull(message = "应用名称不能为空")
    private String applicationName;

    @NotNull(message = "流程code不能为空")
    private String chainName;

    @NotNull(message = "流程描述不能为空")
    private String chainDesc;

    @NotNull(message = "流程图数据不能为空")
    private String jsonData;

    private String elData;

    private Boolean enable = true;

    private boolean format = false;

    private boolean testPrint = true;

}
